projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d0ffc9
)
(Fsingle_key_description): Use KEY_DESCRIPTION_SIZE to
author
Kenichi Handa
<handa@m17n.org>
Thu, 18 Nov 1999 05:10:13 +0000
(
05:10
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 18 Nov 1999 05:10:13 +0000
(
05:10
+0000)
allocate memory for push_key_description.
(describe_buffer_bindings): Likewise.
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index cad670455a107094f0afcc2d058c5b1379043021..5070fc1d1c83928ecd4301c537a9237eb4fcb5fa 100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-1949,7
+1949,7
@@
Control characters turn into C-whatever, etc.")
}
else
{
- char tem[
30
];
+ char tem[
KEY_DESCRIPTION_SIZE
];
*push_key_description (XUINT (key), tem) = 0;
return build_string (tem);
@@
-2414,7
+2414,7
@@
You type Translation\n\
for (c = 0; c < translate_len; c++)
if (translate[c] != c)
{
- char buf[
30
];
+ char buf[
KEY_DESCRIPTION_SIZE
];
char *bufend;
if (alternate_heading)